package cn.edu.xhu.library_management.user.service;

import cn.edu.xhu.library_management.user.entity.LmUserOhter;
import cn.edu.xhu.library_management.user.entity.search.OtherSearch;
import cn.edu.xhu.library_management.user.entity.search.TeacherSearch;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 21086
* @description 针对表【lm_user_ohter(校外用户)】的数据库操作Service
* @createDate 2023-04-18 08:57:28
*/
public interface LmUserOhterService extends IService<LmUserOhter> {

    /**
     * 校外用户搜索
     * @param search 搜索对象
     * @return
     */
    Page<LmUserOhter> search(OtherSearch search);

    /**
     * 添加校外用户
     * @param userOther 校外用户
     * @return
     */
    boolean addOtherUser(LmUserOhter userOther);
}
